<?php
use yii\helpers\Url;
use yii\web\View;
$this->title="账户管理 -- Sacrebleu DSP";
?>
<div class="row">
  <ol class="breadcrumb">
   	<li><a href="<?= Url::to(['index']);?>">首页</a></li>>
    <li class="active">账户管理</li>
  </ol>
</div>
<div id="main-container">
  <div class="row">
  	<h3 class="page-title">
      <i class="fa fa-user"></i>
      账户管理
      <small>账户信息</small>
    </h3>
  </div>
  <div class="panel">
    <div class="panel-heading">
    </div>
    <div class="panel-body">
      <div class="row">
        <div class="col-sm-6 col-sm-offset-3">
          <form class="form-horizontal" id="data-frm" method="POST" action="<?php echo Url::to(['site/user-update-handle']);?>">
            <fieldset>
              <legend>账户信息</legend>
              <div class="form-group">
                <label class="col-sm-2 control-label pl0" for="user_name" >
                  用户名称：
                </label>
                <div class="col-sm-10">
                  <p class="form-control-static">Root</p>
                  <div class="help-block text-error" id="user_name_err"></div>
                </div>
              </div>
              <div class="form-group">
                <label class="col-sm-2 control-label" for="user_pwd">
                  <em>*</em>
                  新密码：
                </label>
                <div class="col-sm-10">
                  <input class="form-control" id="user_pwd" type="password" name="user_pwd" value="" placeholder="">
                  <div class="help-block text-error" id="user_pwd_err"></div>
                </div>
              </div>
              <div class="form-group">
                <label class="col-sm-2 control-label" for="confirm_pwd">
                  <em>*</em>
                  确认密码：
                </label>
                <div class="col-sm-10">
                  <input class="form-control" id="confirm_pwd" type="password" name="confirm_pwd" value="" placeholder="">
                  <div class="help-block text-error" id="confirm_pwd_err"></div>
                </div>
              </div>
              <div class="form-group">
                <label class="col-sm-2 control-label pl0" for="email_address">
                  <em>*</em>
                  电子邮件：
                </label>
                <div class="col-sm-10">
                  <input class="form-control" id="email_address" type="text" name="email_address" value="root@root.com" placeholder="example@example.com">
                  <div class="help-block text-error" id="email_address_err"></div>
                </div>
              </div>
            </fieldset>
            <div class="form-group">
              <div class="col-sm-offset-2 col-sm-10">
                <div class="btn-form-group pull-right">
                  <button type="submit" class="btn btn-primary">保存</button>
                  <a href="<?php echo Url::to(['site/index']); ?>" class="btn btn-default">返回列表</a>
                </div>
              </div>
            </div>
          </form>
        </div>
      </div>
    </div>
  </div>
</div>
<div id="extra-container"></div>
<?php
  $this->registerJsFile("@web/js/vendor/jquery.form.js", ['depends' => 'app\assets\AppAsset']);
  $this->registerJsFile("@web/js/site/sl.userUpdate.js", ['depends' => 'app\assets\AppAsset']);
?>